package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.product.Brand;
import com.atguigu.spzx.model.entity.product.CategoryBrand;
import com.atguigu.spzx.model.vo.product.CategoryBrandVO;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface CategoryBrandService {
    PageInfo<CategoryBrandVO> list(Integer pageNum, Integer pageSize, CategoryBrand categoryBrand);

    void save(CategoryBrand categoryBrand);

    void deleteByIds(List<Long> asList);

    CategoryBrand getById(Long id);

    void update(CategoryBrand categoryBrand);

    List<Brand> listBrandByC3id(Long c3id);
}
